package org.master.geometria;


public class Punto2D {

    private float x;
    private float y;

    public Punto2D() {
        super();
    }

    public void setX(float x) {
        this.x = x;
    }

    public float getX() {
        return x;
    }

    public void setY(float y) {
        this.y = y;
    }

    public float getY() {
        return y;
    }

    public void moverX(float offsetX) {
        x += offsetX;
    }

    public void moverY(float offsetY) {
        y += offsetY;
    }
}
